<?php
/**
 * @todo Hotkey操作
 * */
class HotkeyModel extends Model {
	
	/**
	 * 获取最新的25个,其实都是百度的最新
	 * */
	public function hotTop25(){
		return $this->where(' `kid` IN (SELECT `kid` FROM `think_posts` )')->order('`kid` DESC')->limit('25')->select();
	}
	
	/**
	 * 获取最新的25-50个,其实都是百度的最新
	 * */
	public function hotNext25(){
		return $this->where(' `kid` IN (SELECT `kid` FROM `think_posts` )')->order('`kid` DESC')->limit('25,50')->select();
	}
}